package com.panfeng.xcloud.common.core.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 *
 * 雪花算法配置属性类
 *
 * @author xiaobo
 * @version 1.0
 * @since 2018-12-28
 */
@ConfigurationProperties("snowflake")
@Getter
@Setter
public class SnowflakeProperties {
	private long workerId;
	private long datacenterId;
}
